import request from '@/request/request'
//上传图片
export function uploadImg(data){
	return request({
	  url:`/common/upload`,
		method: 'post',
	  data:data,
	  upload:true
	})
}

//获取字典数据
export function getDictionary(dictName) {
  return request({
    url: `/system/dict/data/type/${dictName}`,
    method: 'get',
		loading:false
  })
}



